package com.orchard.xpz.dao;

import com.orchard.xpz.entity.pesticidesBuy.PesticidesBuy;
import com.orchard.xpz.entity.plantFood.PlantFood;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PesticidesBuyDao {

    List<PesticidesBuy> getList(PesticidesBuy pesticidesBuy);

    int deleteByPrimaryKey(String pesticidesId);

    int insert(PesticidesBuy record);

    int insertSelective(PesticidesBuy record);

    PesticidesBuy selectByPrimaryKey(String pesticidesId);

    int updateByPrimaryKeySelective(PesticidesBuy record);

    int updateByPrimaryKey(PesticidesBuy record);

    List<PesticidesBuy> getCountList(PesticidesBuy pesticidesBuy);
}